package com.systemsetup.systemsetup.model;

import java.util.HashMap;

public class RoleBean {
    private String id;//主键id
    private String name;//名称
    private Integer type;//角色类型：1 单位角色 2机构角色
    private Integer froms;//来源：1 手机端 2 pc端
    //permissions表中id

    private String permissionId;
    //permissions表中name

    private String permissionName;
    //permissions表中pid

    private String permissionPid;

    private Userpermission userpermission;

    private HashMap<String,String>map;

    public HashMap<String, String> getMap() {
        return map;
    }

    public void setMap(HashMap<String, String> map) {
        this.map = map;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getFroms() {
        return froms;
    }

    public void setFroms(Integer froms) {
        this.froms = froms;
    }

    public String getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public String getPermissionPid() {
        return permissionPid;
    }

    public void setPermissionPid(String permissionPid) {
        this.permissionPid = permissionPid;
    }

    public Userpermission getUserpermission() {
        return userpermission;
    }

    public void setUserpermission(Userpermission userpermission) {
        this.userpermission = userpermission;
    }



}
